<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- MyModule.qml -->
  <title>MyModule QML Type | MyModule</title>
</head>
<body>
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">MyModule QML Type</h1>
<span class="subtitle"></span>
<!-- $$$MyModule-brief -->
<p>模块1的QML接口组件. <a href="#details">More...</a></p>
<!-- @@@MyModule -->
<ul>
<li><a href="qml-mymodule-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-mymodule.html#config-prop">config</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-mymodule.html#status-prop">status</a></b></b> : int</li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-mymodule.html#executed-signal">executed</a></b></b>(<i>int</i>)</li>
<li class="fn"><b><b><a href="qml-mymodule.html#initialized-signal">initialized</a></b></b>()</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-mymodule.html#execute-method">execute</a></b></b>(int <i>input</i>)</li>
<li class="fn"><b><b><a href="qml-mymodule.html#initialize-method">initialize</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-mymodule.html#reset-method">reset</a></b></b>()</li>
</ul>
<!-- $$$MyModule-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>该组件封装了Module类的功能，提供状态管理和操作接口。</p>
<!-- @@@MyModule -->
<h2>Property Documentation</h2>
<!-- $$$config -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="config-prop">
<td class="tblQmlPropNode"><p>
<a name="config-prop"></a><span class="name">config</span> : <span class="type">string</span></p></td></tr>
</table></div></div>
<div class="qmldoc"><p>模块配置信息</p>
</div></div><!-- @@@config -->
<br/>
<!-- $$$status -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="status-prop">
<td class="tblQmlPropNode"><p>
<a name="status-prop"></a><span class="name">status</span> : <span class="type">int</span></p></td></tr>
</table></div></div>
<div class="qmldoc"><p>当前模块状态：</p>
<ul>
<li>0 - 未初始化</li>
<li>1 - 已初始化</li>
<li>2 - 运行中</li>
</ul>
</div></div><!-- @@@status -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$executed[overload1]$$$executedint -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="executed-signal">
<td class="tblQmlFuncNode"><p>
<a name="executed-signal"></a><span class="name">executed</span>(<i>int</i> = result)</p></td></tr>
</table></div></div>
<div class="qmldoc"><p>执行完成时触发 <b class="redFont"><code>\param</code></b> result 执行结果</p>
<p><b>Note: </b>The corresponding handler is <code>onExecuted</code>.</p>
</div></div><!-- @@@executed -->
<br/>
<!-- $$$initialized[overload1]$$$initialized -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="initialized-signal">
<td class="tblQmlFuncNode"><p>
<a name="initialized-signal"></a><span class="name">initialized</span>()</p></td></tr>
</table></div></div>
<div class="qmldoc"><p>初始化完成时触发</p>
<p><b>Note: </b>The corresponding handler is <code>onInitialized</code>.</p>
</div></div><!-- @@@initialized -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$execute[overload1]$$$executeint -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="execute-method">
<td class="tblQmlFuncNode"><p>
<a name="execute-method"></a><span class="name">execute</span>(<span class="type">int</span> <i>input</i>)</p></td></tr>
</table></div></div>
<div class="qmldoc"><p>执行模块功能 <b class="redFont"><code>\param</code></b> input 输入参数 <b class="redFont"><code>\return</code></b> 输入值的两倍</p>
</div></div><!-- @@@execute -->
<br/>
<!-- $$$initialize[overload1]$$$initialize -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="initialize-method">
<td class="tblQmlFuncNode"><p>
<a name="initialize-method"></a><span class="name">initialize</span>()</p></td></tr>
</table></div></div>
<div class="qmldoc"><p>初始化模块，设置状态为1</p>
</div></div><!-- @@@initialize -->
<br/>
<!-- $$$reset[overload1]$$$reset -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="reset-method">
<td class="tblQmlFuncNode"><p>
<a name="reset-method"></a><span class="name">reset</span>()</p></td></tr>
</table></div></div>
<div class="qmldoc"><p>重置模块状态</p>
</div></div><!-- @@@reset -->
<br/>
</body>
</html>
